package Utils;


public class Constant{
	public static final String DB="news_v2";
	public static final String news_vietica = "http://news.vietica.com/news/DoProc?act=viewcache&cache=catfull%2Fcat$CATID$.xml&cid=$CATID$";
	public static final String news_vietica_latest = "http://news.vietica.com/news/DoProc?act=viewcache&cache=catfull%2Ftop$CATID$.xml&cid=$CATID$&country=VN&status=VN";
	
	public static final String url_view_news = "http://news.vietica.com/news/DoProc?act=";
	public static final int IMAGE_NORMAL_THUMBWIDTH = 600;

	public static final int IMAGE_NORMAL_THUMBHEIGHT = 600;
	
	public static final int IMAGE_SMALL_THUMBWIDTH = 150;

	public static final int IMAGE_SMALL_THUMBHEIGHT = 150;
	
	

	public static final String FILE_SEPARATOR = System.getProperty("file.separator");
//	public static final String FOLDER_IMG = "D:/data2/news";
//	public static final String FOLDER_CLIP = "D:/data2/news/clip";
//	public static final String FOLDER_DATA = "D:/data2/news";
	
	
	public static final String FOLDER_IMG = "/data2/topnews/img";
	public static final String FOLDER_CLIP = "/data2/topnews/img/clip";
	public static final String FOLDER_DATA = "/data2/topnews";
	
	public static final String DATAPATH="http://tnewsimg.rolo.vn:8080";
//	public static final String DATAPATH="http://localhost/newsimg";
	
	public static final String AdminAccount = "admin";
	public static final String AutoAccount = "machine";
	public static final String AdminType = "1";
	
	

//	public static final String reloadTOPNEWS_URL = "http://localhost/tn/p?act=clearNewsCache&key=";	
	public static final String reloadTOPNEWS_URL = "http://tn.rolo.vn/tn/p?act=clearNewsCache&key=";

	
	public static final String reloadTOPNEWSCAT_URL = "http://tn.rolo.vn/tn/p?act=reloadCateDetail&catId=";
//	public static final String reloadTOPNEWSCAT_URL = "http://localhost/tn/p?act=reloadCateDetail&catId=";	

	
}